'use strict';
define(function(require, exports, module) {

	exports.init = function(app) {
		app.register.controller("loginController", ["$scope", "loginService", function($scope, loginService) {

			loginService.queryById(1, function(obj) {
				$scope.user = obj;
			});

		}]);
	};

});